From ef3a134996a430b01adbc9029223e5a2c7486d25 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=98yvind=20Kol=C3=A5s?= Date: Thu, 6 Dec 2018 22:34:34 +0100 Subject: [PATCH] babl: fix building reference-fish without lcms2 --- babl/babl-fish-reference.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/babl/babl-fish-reference.c b/babl/babl-fish-reference.c index 6ef1c69..81aa9b2 100644 --- a/babl/babl-fish-reference.c +++ b/babl/babl-fish-reference.c @@ -1017,9 +1017,12 @@ babl_fish_reference_process_double (const Babl *babl, else if (source_kind == KIND_CMYK && destination_kind == KIND_CMYK) { - if (source_space != destination_space && - source_space->space.cmyk.lcms_profile && - destination_space->space.cmyk.lcms_profile) + if (source_space != destination_space +#if HAVE_LCMS + && source_space->space.cmyk.lcms_profile + && destination_space->space.cmyk.lcms_profile +#endif + ) { #if HAVE_LCMS -- 2.30.2